package com.kgc.scd.service;

import com.kgc.scd.bean.Product;
import com.kgc.scd.util.RequestResult;
import com.kgc.scd.util.UserAnno;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created On : 2022/6/13.
 * <p>
 * Author     : 98730
 * <p>
 * Description: 猜你喜欢远程业务接口
 */
@FeignClient(value = "blmall-server-jzp-8102")
public interface GuessProductsService {
    /**
     * @author : 98730
     * @date   : 2022/6/13
     * @param  : [com.kgc.scd.util.UserAnno]
     * @return : com.kgc.scd.util.RequestResult<java.util.List<com.kgc.scd.bean.Product>>
     * @description : 猜你喜欢
     */
    @PostMapping("/guessYouLike")
    RequestResult<List<Product>> guessYouLike(@RequestParam("token") String token);
}
